package com.example.demo.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("orders")
public class Orders {

    /**
     * 运营商工单编号
     */
    private String id;

    /**
     * 客户id
     */
    private Integer customerId;


    /**
     * 商品的id
     */
    private Integer goodsId;

    /**
     *  客户地区
     */
    private Integer area;

    /**
     * 商品的数量
     */
    private Integer goodsNumber;

    /**
     * 客户地址
     */
    private String address;


    /**
     * 订单创建时间
     */
    private Date createTime;


    /**
     * 删除标志位：0正常 1删除
     */
    private int delFlag;

    @TableField(exist = false)
    private String goodsName;
    @TableField(exist = false)
    private String customerName;
    @TableField(exist = false)
    private String areaName;


}
